//API地址

var api = {
  "development": {
    "API_BASE": "/api/",
    "IMG_BASE": "oss_asset/media/",
    "JUMP_URL":"https://wj.qq.com/s2/6665809/91bb",
  },
  "production": {
    // "API_BASE": "http://116.62.197.100:1337/"
    "API_BASE": "/api/",
    "IMG_BASE": "oss_asset/media/",
    "JUMP_URL":"https://wj.qq.com/s2/6665809/91bb",
  }
}

// console.log(USEOSS,"PRODUCTIONPRODUCTION")
var exportApi = api[process.env.NODE_ENV];

try {
  if(USEOSS){
    exportApi={
      "API_BASE": "/api/",
      "IMG_BASE": USEOSS + "oss_asset/media/",
      "JUMP_URL":"https://wj.qq.com/s2/6665809/91bb",
    }
  }
} catch (error) {
  console.log("USEOSS--notReady")
}


export const { API_BASE,IMG_BASE,JUMP_URL } = exportApi;